﻿

@inherits BlazorComponentBase
@attribute [HtmlRole("alert")]


<div @attributes="GetAttributes()">
    @ChildContent
</div>

@code{

    [Parameter] public RenderFragment? ChildContent { get; set; }

    [Parameter][CssClass("alert-")] public Color Color { get; set; } = Color.Primary;

    [Parameter][HtmlAttribute("onclick")] public EventCallback<MouseEventArgs> OnClick { get; set; }
}